package org.edu.modules.enroll.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description:  预约拜访记录
 * @Author:  lbh
 * @Version:  V1.0
 */
@Data
@TableName("ve_zs_yybf")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class VeZsYybf implements Serializable {


        /** id */
        @TableId(type = IdType.AUTO)
        @ApiModelProperty(value = "id")
        private Long id;

        /** 姓名 */
        @Excel(name = "姓名", width = 15)
        @ApiModelProperty(value = "姓名")
        private String xm;

        /** 性别码 */
        @Excel(name = "性别码", width = 15)
        @ApiModelProperty(value = "性别码")
        private Integer xbm;

        /** 联系电话 */
        @ApiModelProperty(value = "联系电话")
        @TableField(value = "lxdh")
        private String lxdh;

        /** 拜访目的 */
        @Excel(name = "拜访目的", width = 15)
        @ApiModelProperty(value = "拜访目的")
        @TableField(value = "bfmd")
        private String bfmd;

        /** 拜访起始时间 */
        @ApiModelProperty(value = "拜访起始时间")
        @TableField(value = "bf_sta_time")
        private Date bfStaTime;

        /** 拜访结束时间 */
        @Excel(name = "拜访结束时间", width = 15)
        @ApiModelProperty(value = "拜访结束时间")
        @TableField(value = "bf_end_time")
        private Date bfEndTime;

        /** 推荐人用户id */
        @Excel(name = "推荐人用户id", width = 15)
        @ApiModelProperty(value = "推荐人用户id")
        @TableField(value = "tjr_user_id")
        private String tjrUserId;

        /** 推荐人姓名 */
        @ApiModelProperty(value = "推荐人姓名")
        @TableField(value = "tjr_real_name")
        private String tjrRealname;

        /** 状态;0待审，1不通过，2通过 */
        @ApiModelProperty(value = "状态;0待审，1不通过，2通过")
        @TableField(value = "status")
        private Integer status;


        /** 审核人用户id */
        @ApiModelProperty(value = "审核人用户id")
        @TableField(value = "approver_user_id")
        private String approverUserId;

        /** 审核时间 */
        @ApiModelProperty(value = "审核时间")
        @TableField(value = "approver_time")
        private Date approverTime;

        /** 不通过理由 */
        @ApiModelProperty(value = "不通过理由")
        @TableField(value = "approver_reason")
        private String approverReason;

        /**
         * 创建人
         */
        @ApiModelProperty(value = "创建人")
        private String createBy;
        /**
         * 创建时间
         */

        @ApiModelProperty(value = "创建时间")
        private Date createTime;
        /**
         * 更新人
         */
        @ApiModelProperty(value = "更新人")
        private String updateBy;
        /**
         * 更新时间
         */
//        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
//        @DateTimeFormat(pattern = "yyyy-MM-dd")
        @ApiModelProperty(value = "更新时间")
        private Date updateTime;

    }

